package com.example.demo.dao;

import com.example.demo.pojo.Customer;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@Mapper
public interface customerMapper {
    public List<Customer> selectAllCustomers();
    public Customer selectCustomerByid(int id);
    public void addCustomer(Customer customer);
    public void updateCustomer(Customer customer);
    public void deleteCustomer(int id);
    public int cust_num();
}
